home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / lanscrpt.zip / STARTNET.BAT < prev    next >
DOS Batch File  |  1992-08-18  |  1KB  |  30 lines

  1. rem The process starts here.  This batch file is called from the Autoexec.bat.
  2. rem obviously, you can tailor it to your needs.
  3. cls
  4. c:
  5. cd\lantasti
  6. c:\qemm\loadhi /r:2 aex @srvperf.swi
  7. c:\qemm\loadhi /r:2 ailanbio @srvperf.swi
  8. c:\qemm\loadhi /r:2 redir server1 @srvperf.swi
  9. :again
  10. c:\qemm\loadhi /r:2 server @srvperf.swi
  11. rem I use a utility called ifserver (found on ARTIFACTS under ifserver.zip) 
  12. rem to test whether or not the machine was successful in bringing up the
  13. rem server.
  14. ifserver                                           
  15. if errorlevel==1 if not errorlevel 2 goto continue
  16. if errorlevel==0 if not errorlevel 1 goto again
  17. :continue
  18. cls 
  19. echo Server is loaded.  Continuing.
  20. cls 
  21. c:\qemm\loadhi /r:2 ups @srvperf.swi
  22. c:\qemm\loadhi /r:2 share /f:200/l:200
  23. rem Now that the network is started, we can begin the real work.  First, I call
  24. rem a batch file that will log the user into the network.  I called it login so 
  25. rem that users don't have to remember cryptic batch file names, and so that any 
  26. rem NOVELL users can instantly know what to do.  
  27.  
  28. call login
  29.  
  30.